﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="TGrade_1.aspx.cs" Inherits="finalexam.WebForm12" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div style="height: 450px; width: 1000px; float: left; ">
        <div style="height: 450px; width: 1000px; float: right; ">

    <div style="height: 159px; width: 866px; float: right;">
        <div style="float: right; width: 140px;">

                <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" style="height: 19px">
                    <asp:ListItem>春天</asp:ListItem>
                    <asp:ListItem>夏天</asp:ListItem>
                    <asp:ListItem>秋天</asp:ListItem>
                    <asp:ListItem>冬天</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="Button1" runat="server"  Text="确认" OnClick="Button1_Click" />

            </div>
&nbsp;
        <asp:Label ID="Label14" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#0066CC" Text="查看学生成绩："></asp:Label>
          <asp:Label ID="Label13" runat="server" ForeColor="#FF6600"></asp:Label>
        <br />
        <div style="float: right; height: 141px; width: 371px;">
            <br />
            <asp:Label ID="Label2" runat="server" Text="课名"></asp:Label>
        <asp:TextBox ID="txtCname" runat="server" style="margin-top: 0px"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnInsert" runat="server" Text="增加" OnClick="btnInsert_Click" />
            <br />
            <br />
            <asp:Label ID="Label4" runat="server" Text="姓名"></asp:Label>
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnUpdate" runat="server" Text="修改成绩" OnClick="btnUpdate_Click" Width="66px" style="margin-bottom: 0px" />
        
            <br />
            <br />
        <asp:Label ID="Label12" runat="server" Text="成绩"></asp:Label>
        <asp:TextBox ID="txtGrade" runat="server"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click" style="height: 21px" />
        </div>
        <br />
        &nbsp;&nbsp;
        &nbsp;
        学期<asp:DropDownList ID="DdListSem" runat="server" Height="19px" Width="148px">
            <asp:ListItem></asp:ListItem>
            <asp:ListItem>第一学期</asp:ListItem>
            <asp:ListItem>第二学期</asp:ListItem>
        </asp:DropDownList>
        &nbsp;<asp:Button ID="btnRead" runat="server" Text="查询" OnClick="btnRead_Click" />
        &nbsp;<br />
        &nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label18" runat="server" Text="课号"></asp:Label>
        <asp:DropDownList ID="DdListCno" runat="server" Height="19px" Width="148px">
            <asp:ListItem></asp:ListItem>
            <asp:ListItem>001</asp:ListItem>
            <asp:ListItem>002</asp:ListItem>
            <asp:ListItem>003</asp:ListItem>
            <asp:ListItem>004</asp:ListItem>
            <asp:ListItem>005</asp:ListItem>
            <asp:ListItem>006</asp:ListItem>
        </asp:DropDownList>
        &nbsp;<br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label3" runat="server" Text="学号"></asp:Label>
        <asp:TextBox ID="txtNo" runat="server" style="margin-top: 0px"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;<br />
        <br />
        <br />
             
        
        <div style="float: right; width: 871px;">
            &nbsp; <asp:Label ID="Label17" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#0066CC" Text="显示该学生本学期成绩："></asp:Label>
        <asp:Button ID="btnRead1" runat="server" Text="确认查询" OnClick="btnRead1_Click" />
                 </div> 
        <br />
        <br />    
            </div>
                <div style="width: 91px; height: 134px">
                    <asp:TreeView ID="TreeView1" runat="server" ForeColor="Yellow" ImageSet="Arrows">
                        <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                        <Nodes>
                            <asp:TreeNode NavigateUrl="~/TGrade.aspx" Text="总体成绩分析" Value="总体成绩分析"></asp:TreeNode>
                            <asp:TreeNode NavigateUrl="~/TGrade2.aspx" Text="查看总体成绩" Value="查看总体成绩"></asp:TreeNode>
                            <asp:TreeNode NavigateUrl="~/TGrade_1.aspx" Text="查看个人成绩" Value="查看个人成绩"></asp:TreeNode>
                        </Nodes>
                        <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
                        <ParentNodeStyle Font-Bold="False" />
                        <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px" VerticalPadding="0px" />
                    </asp:TreeView>
            </div>
                <br />
                <br />
                <br />
                <br />
                <br />
             <%--<br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />--%>
        <div style="height: 205px; width: 1006px; float: left; ">
             <div style="height: 190px; width: 853px; float: right;">
                <asp:GridView ID="GridView2" runat="server" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" Width="303px">
                    <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                    <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                    <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                    <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FFF1D4" />
                    <SortedAscendingHeaderStyle BackColor="#B95C30" />
                    <SortedDescendingCellStyle BackColor="#F1E5CE" />
                    <SortedDescendingHeaderStyle BackColor="#93451F" />
                </asp:GridView>
                <br />
            </div>

          
              
            <br />
        </div>
               

            </div>
        </div>
</asp:Content>
